projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e9ac82
)
sidebarrow: Don't focus on click
author
Timm Bäder
<mail@baedert.org>
Fri, 17 May 2019 06:42:34 +0000
(08:42 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sat, 18 May 2019 11:47:59 +0000
(13:47 +0200)
This is sometimes important, e.g. when saving in the filechooser. We
don't want to move the focus out of the filename entry in that case.
gtk/gtksidebarrow.c
patch
|
blob
|
history
diff --git
a/gtk/gtksidebarrow.c
b/gtk/gtksidebarrow.c
index 3623b67847adf47b170c2c4e5c8b0199fd0675dc..9b7fedd1ae5510d82dc4b9190aa28674a6433036 100644
(file)
--- a/
gtk/gtksidebarrow.c
+++ b/
gtk/gtksidebarrow.c
@@
-465,6
+465,8
@@
static void
gtk_sidebar_row_init (GtkSidebarRow *self)
{
gtk_widget_init_template (GTK_WIDGET (self));
+
+ gtk_widget_set_focus_on_click (GTK_WIDGET (self), FALSE);
}
static void